package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.ProductReviews;
import com.example.mall.dto.ProductReviewsDto;
import com.example.mall.query.PageDTO;
import com.example.mall.query.ProductReviewsQuery;

import java.util.List;


/**
 * <p>
 * 商品审核表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-06
 */
public interface IProductReviewsService extends IService<ProductReviews> {

    //分页查询商品审核表信息
    PageDTO<ProductReviewsDto> queryPage(ProductReviewsQuery productReviewsQuery);

    //根据id查询商品审核表信息
    ProductReviews queryProductReviewsById(Long reviewId);

    //查询商品审核表信息
    List<ProductReviews> queryProductReviewsList();

    //新增商品审核表信息
    void insert(ProductReviewsDto productReviewsDto);

    //修改商品审核表信息
    void update(ProductReviewsDto productReviewsDto);

    //删除商品审核表信息
    void delete(Long reviewId);

    //批量删除商品审核表信息
    void deleteBatch(List<Long> reviewIds);
}
